From 2972bce6a6078bd69a302d802b8e015cc2a381ab Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Thu, 12 Aug 2004 06:16:22 +0000 Subject: [PATCH] bitkeeper revision 1.1159.17.13 (411b0b36peqhPJFT111OsxoPfmLexQ) updates to xen-clone script : build linux 2.6 --- tools/misc/xen-clone | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone index cfcd3e4e06..392bf8c6fe 100755 --- a/tools/misc/xen-clone +++ b/tools/misc/xen-clone @@ -17,7 +17,7 @@ UCCL) *) BK_REP=${1:-bk://xen.bkbits.net/xeno-1.0.bk} # BK_REP=${1:-ssh://xen@xen.bkbits.net/xeno-1.0.bk} - LINUX_DIR=${3:-..} + LINUX_DIR=${3:-.:..} ;; esac @@ -65,12 +65,7 @@ if [ -d ${DEST_BK_REP}/linux-2.4.*-xen-sparse ] then # this is a new style Xen repository so building is dead easy - LINUX_VER=`( /bin/ls -ld ${DEST_BK_REP}/*linux-2.4.*-xen-sparse ) 2>/dev/null | sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!'` - - if [ -e ${LINUX_DIR}/linux-${LINUX_VER}.tar.gz ] - then - export LINUX_SRC=${LINUX_DIR}/linux-${LINUX_VER}.tar.gz - fi + export LINUX_SRC_PATH=${LINUX_DIR} cd ${DEST_BK_REP} ln -sf ../install install -- 2.30.2